package com.home.qh.dao;

import java.util.List;

import com.home.qh.model.Codes;

/**
 * Role Data Access Object (DAO) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface CodesDao extends GenericDao<Codes, Long> {
    /**
     * Gets role information based on CodesDao
     * @param CodesDao the CodeTypeDao
     * @return populated role object
     */
	List<Codes> getCodesByCodeAndName(String codesCode, String codesName);
	
	List<Codes> getCodesByCodes(Codes codes, String sort, boolean desc, int startResult, int maxResults);
    
}
